import request from "@/utils/request";
import { requestPath } from "@/utils/global.js";

export function getAdsList(params) {
  //轮播图列表
  return request({
    url: `${requestPath.sysuser}/adspace/signvalue`,
    method: "get",
    params
  });
}

export function getRecommendAPI(params) {
  //推荐位
  return request({
    url: `${requestPath.resource}/recommend/content/list`,
    method: "get",
    params
  });
}

export function getHotWord(params) {
  //热搜词
  return request({
    url: `${requestPath.sysuser}/hotsw/list`,
    method: "get",
    params
  });
}

export function getRecommListAPI(params) {
  //推荐位列表（分页）
  return request({
    url: `${requestPath.resource}/recommend/content/page`,
    method: "get",
    params
  });
}
